package com.brillilab.domain.po.inventory;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 库存删除记录
 * </p>
 *
 * @author WuMenghao
 * @since 2019-05-23
 */
@TableName("inventory_delete_record")
@Data
public class InventoryDeleteRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 库存Id
     */
    @TableField("inventory_id")
    private Long inventoryId;
    /**
     * 设备Id
     */
    @TableField("device_id")
    private Long deviceId;
    /**
     * 是否成功 0-否 1-是
     */
    private Integer success;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

}
